<?php
declare(strict_types=1);

namespace WebApp\lib\db\redis;

use WebApp\lib\db\IDriver;

/**
 * Class MysqlTable
 * @package WebApp\lib\db\mysql
 */
abstract class RedisDriver implements IDriver
{
    /**
     * @var RedisConfig
     */
    public $config;
    public function __construct(RedisConfig $config)
    {
        $this->config =  $config;
    }

    abstract function get(string $key);
    abstract function set(string $key, string $val);
    abstract function del(string $key);
}
